package com.main.by.dao;

import java.util.List;

import com.main.by.entity.vo.SubmitVO;
import com.main.by.entity.vo.TaskVO;

public interface TaskDao {
	
	public boolean insterTask(TaskVO taskInfo) throws Exception;
	
	public List<TaskVO> findAllTask() throws Exception;
	
	//根据Id查询
	public TaskVO findTaskById(int taskId) throws Exception;
	
	public boolean deleteTaskById(int taskId) throws Exception;
	
	public boolean saveTaskInfo(TaskVO taskVO) throws Exception;
	
	public boolean insterSubmitTask(SubmitVO submitTaskInfo) throws Exception;
	
	public List<TaskVO> selectTaskByCate(int taskId) throws Exception;

}
